import React from 'react';
import PureSalaryRefTable from '@/components/SalaryRefTable/PureSalaryRefTable.js';
import { useSalaryList } from '../../hooks';

export default React.memo(({ positionValue, cityList = [] }) => {
    const [loading, data = []] = useSalaryList({ positionValue });
    return <PureSalaryRefTable loading={loading} cityList={cityList} salaryData={data} />;
});
